/****************
 *@description: 宠币商品管理/礼物收益账户
 *@author: Xhd
 *@API: 方子奥
 *@date: 2023-11-29 15:10:59
 *@version: V1.0.0
*************************************************************************/

import React from "react";

// 宠币商品管理列表
export async function apiImPetCoinsList(params) {
  return await React.$post('/manage/api/b/imPetCoins/list', params);
}

// 上传宠币商品
export async function apiImPetCoinsAdd(params) {
  return await React.$postJson('/manage/api/b/imPetCoins/add', params)
}

// 编辑宠币商品
export async function apiImPetCoinsUpdate(params) {
  return await React.$postJson('/manage/api/b/imPetCoins/update', params)
}

// 删除宠币商品
export async function apiImPetCoinsDelete(params) {
  return await React.$post('/manage/api/b/imPetCoins/delete', params)
}

// 宠币商品上下架
export async function apiImPetCoinsUpOrDownShelves(params) {
  return await React.$postJson('/manage/api/b/imPetCoins/upOrDownShelves', params)
}

// 获取宠币自定义充值
export async function apiImCustomCoinsGet(params) {
  return await React.$post('/manage/api/b/imCustomCoins/get', params)
}

// 宠币自定义充值修改
export async function apiImCustomCoinsUpdate(params) {
  return await React.$postJson('/manage/api/b/imCustomCoins/update', params)
}

// 用户礼物收益账户列表
export async function apiGetGfitPage(params) {
  return await React.$postJson('/user/api/b/user/getGfitPage', params)
}

// 用户礼物收益账户导出
export async function apiGetGfitList(params) {
  return await React.$postJson('/user/api/b/user/getGfitList ', params)
}

// 礼物收益账户详情
export async function apiImMemberFreezingOrThawingLow(params) {
  return await React.$post('/user/api/b/imMemberFreezingOrThawingLow/get', params)
}

// 礼物收益详情封禁/解封账户
export async function apiImMemberFreezingAccountStatus(params) {
  return await React.$postJson('/user/api/b/imMemberFreezingOrThawingLow/accountStatus', params)
}

// 礼物收益详情冻结/解冻金额
export async function apiImMemberFreezing(params) {
  return await React.$postJson('/user/api/b/imMemberFreezingOrThawingLow/freezing', params)
}

// 冻结/解冻记录
export async function apiImMemberFreezingFlowingWater(params) {
  return await React.$post('/user/api/b/imMemberFreezingOrThawingLow/flowingWater', params)
}

// 礼物收益明细
export async function apiImMemberBalanceDetails(params) {
  return await React.$postJson('/user/api/b/imMemberBalanceDetails/getWebAll', params)
}
